<template>
  <div>
    <p>工作台</p>
    <!-- 选择日历 -->
    <div>
      <calendar />
    </div>
    
    <div>
      <button @click="showpri">上传文件</button>
    </div>
    <div v-if="print">
      <print />
    </div>
  </div>
</template>

<script>
  import print from '@/components/print'
  import calendar from '@/components/calendar'
  export default {
    data() {
      return {
        print: false,
        showdata:false
      }
    },
    components: {
      print,
      calendar
    },
    methods: {
      showpri(){
        this.print = !this.print
      }
    }
  }
</script>

<style>
</style>
